-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added EXECUTOR_COUNT to environment variables #106
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable, although I'm curious what your use case is. Is there a corresponding JENKINS issue?
@@ -100,6 +100,29 @@ | |||
r.assertLogContains("My number on a slave is 0", r.assertBuildStatusSuccess(p.scheduleBuild2(0))); | |||
} | |||
|
|||
/** | |||
* Verifies if EXECUTOR_COUNT environemn variable is set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Verifies if EXECUTOR_COUNT environemn variable is set | |
* Verifies if EXECUTOR_COUNT environment variable is set |
I don't have corresponding Jenkins JIRa, at least I didn't look for this.
|
Signed-off-by: Artur Harasimiuk <[email protected]>
|
jenkinsci/workflow-durable-task-step-plugin#106 Signed-off-by: Artur Harasimiuk <[email protected]>
jenkinsci/workflow-durable-task-step-plugin#106 Signed-off-by: Artur Harasimiuk <[email protected]>
It may be reasonable to check executor count of currently used master/slave agent. This PR exposes this as environment variable.